package com.lucifer.cloud.boot.blog.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lucifer.cloud.boot.blog.domin.bo.Article;
import com.lucifer.cloud.boot.blog.domin.dto.article.ArticleDto;
import com.lucifer.cloud.boot.blog.domin.dto.article.ArticleReq;
import com.lucifer.cloud.commons.model.Result;
import jakarta.servlet.http.HttpServletRequest;

/**
 * @author lucifer
 * @date 2023/12/21 15:23
 */
public interface ArticleService extends IService<Article> {
    ArticleDto info(HttpServletRequest request,String uid,String user_id, Integer page, Integer limit, String sort,String queryType,Integer category);

    Result create(HttpServletRequest request, ArticleReq articleReq);

    Result update(HttpServletRequest request, ArticleReq articleReq);

    Result delete(HttpServletRequest request, String uid);


}
